<?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<div id="content" style="padding-left:10px;padding-right:10px">
	<h2 class="contentheading"><?php echo JText::_('SEARCHFORM_TITLE');?></h2>
	<div id="searchForm" style="float:left;width:47%;padding-right:20px">
		<?php echo JText::_('SEARCHFORM_DESCRIP');?>
		<div id="formBusqueda" style="margin-top:40px">
		<form action="index.php" method="get">
			<input type="hidden" id="option" name="option" value="<?php echo $this->option;?>" />
			<input type="hidden" id="task" name="task" value="searchRoutes" />
			<center>
				<blockquote class="rectangle-speech-border" style="margin-right:80px;margin-left:80px">
					<?php echo JText::_('SEARCHFORM_ADDRESS');?>
					<b><span id="circleRadiusText"></span> km</b><br/><br/>
					<?php echo JText::_('SEARCHFORM_RADIX');?>
					<b><span id="keywordsText"></span></b><br/><br/>
					<?php echo JText::_('SEARCHFORM_DISTANCE');?>
					<input type="text" id="maxDistance" name="maxDistance" size="3" onkeyup="updateMaxDistance(this);"/>  km
				</blockquote>
			</center>
			<input type="hidden" id="keywords" name="keywords"/>
			<input type="hidden" id="circleRadius" name="circleRadius" value="50"/>
			<center style="margin-top:20px"><input type="submit" class="small awesome" id="submit" value="<?php echo JText::_('SEARCHFORM_BUTTON');?>"/></center>
		</form>
		</div>
	</div>
	<div id="map_canvas" style="float:left;width:50%;height: 400px; border: 1px solid black;"></div>
</div>